//下一页
function continuestep8()
{
	window.location.href="step9.html";
}
//图片上传
$("#imgUpload")
    .fileinput({
	    language: 'zh',
	    uploadUrl: "/airbnb/addHouseStep8.do",
	    autoReplace: false,
	    maxFileCount: 3,
	    allowedFileExtensions: ["jpg", "png", "gif"],
	    browseClass: "btn btn-primary", //按钮样式 
	    previewFileIcon: "<i class='glyphicon glyphicon-king'></i>"
	}).on("fileuploaded", function (e, data) {
    var res = data.response;
    if (res > 0) {
        alert('上传成功');
    }
    else {
        alert('上传失败')
    }
})